<div id="page-title">
            <img src="<{$APPLICATION_URL}>/Themes/Default/Images/res-img/news.png" width="50" height="50" class="left-align service-icn " alt="News Panel">
				<h1 class="page-heading">News Panel</h1>			
			</div>
            
			<div id="breadcrumb" class="transparent">
				<p> <img src="<{$APPLICATION_URL}>/Themes/Default/Images/res-img/home.png" class="home" alt="Slappit.com"> <a href="<{$APPLICATION_URL}>/Browse/index" title="Slappit.com Homepage">Home</a> / <a href="<{$APPLICATION_URL}>/Browse/MyAccount/index" title="Slappit.com User Panel">Website Admin Panel</a> / <a href="<{$APPLICATION_URL}>/Browse/NewsPanel/index" title="News Panel">News Panel</a>
			</div>       
			<div id="main-content">
				<article id="main-article">
					<ul id="filtering-nav">
      					    <li><a href="<{$APPLICATION_URL}>/Browse/MyAccount/index" title="Back To Main User Panel">Back To Main User Panel</a></li>
                            <li><a href="<{$APPLICATION_URL}>/Browse/NewsPanel/Create" title="Create a new news article">Create A New Article</a></li>
							<li><a href="<{$APPLICATION_URL}>/Browse/Category/index/type/news" title="News Category Panel">News Category Panel</a></li>
        					<li><a href="<{$currentUser->getHomeUrl()}>" target="blank" title="View Website Homepage">View Website Homepage</a></li>
      				</ul>
					<{if $isDemoMode == true}>
					<p><h3 style="font-family:arial"><font color="red">THIS IS DEMO MODE. YOU CANNOT EDIT ANY INFORMATION HERE</font></h3><br/>
					</p>
					<{/if}>
	<div id="service-page">
                      	  <div class="clear"></div> 
               	  </div>
				  <{if $itemCount > 0}>
               	  <table width="100%" border="0" cellspacing="2" cellpadding="5">
  <tr>
    <td width="55%">News Title</td>
    <td width="5%">&nbsp;</td>
    <td width="17%">Edit Page</td>
    <td width="23%">Delete Page</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <{foreach item=item from=$itemList}>
  <tr>
    <td><{$item->title}></td>
    <td>&nbsp;</td>
    <td><a href="<{$APPLICATION_URL}>/Browse/NewsPanel/edit/id/<{$item->id}>" title="Edit <{$item->title}>">Edit News</a></td>
    <td><a href="<{$APPLICATION_URL}>/Browse/NewsPanel/del/id/<{$item->id}>" title="Delete <{$item->title}>">Delete News</a></td>
  </tr> 
  <{/foreach}>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <{if $pageLink != ""}>
  <tr>
	<td colspan="4" align="center">
		<{$pageLink}>
	</td>
  </tr>
  <{/if}>
</table>
<{/if}>


				</article>	
		
			</div>
		  <div class="space transparent"><a href="#top" id="scroll-top"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/res-img/top.png" alt="Back to the top"></a></div>